C (233/301)

From:Mike Carter
Date:08 Aug 99 at 18:13:37
Subject:Point()

From: Mike Carter <mike.carter@bigfoot.com>

Hi all!

Trying to knock out a point command (as found in Basic)
tonight.

The requirement of the command is to take an X,Y
co-ords and bitmap pointer and return the colour value at a given
position. Thing is this has gotta work with GFX cards
(P96 / CGX) and AGA. The choice for bitmap storing was
GUIGFX.library using the LoadPicture() command.

What is the best way to attack this problem? Has
anybody got a snippet of code they would be willing to
share?

Regards,

Mike C.



.--------------------------------- ---- - -- --------.
| AMiGA 1200EZT 060/PPC@240Mhz,50Mb RAM __/\__ |
| 4 HDD,DD FD,5 CD-ROMS,CDrW,ZiP250 \ o0 / bUDDa/S^D|
| SCSI+IDE,56kModem,BVGfX,19"VDU /_'-_\ |
`------------------------------- --- - \/ -- ------'
http://fly.to/BuddasWurld ICQ: 29173597